<?php
/**
 * Database handler.
 *
 */
class Db_Db
{
   public static function conn(){
   	global $db;
      $connParams = array("host"     => "localhost",
                          "port"     => "80",
                          "username" => "root",
                          "password" => "",
                          "dbname"   => "db_websevice_adroid");
      $db = new Zend_Db_Adapter_Pdo_Mysql($connParams);
      return $db;
   }
	public function conn_db(){
		$host	= 'localhost';
		$port 	= '80';
		$database	= 'db_websevice_adroid';
		$username	= 'root';
		$password	= '';
		global $conn;
		$conn =  mysqli_connect($host,$username,$password,$database) or die('Could not connect to DB');
		return $conn;
	}
}